package org.example.model;
import java.util.*;

/**
 * @author lenovo
 */

public class Score {
    private Student student;
    private HashMap<String,CourseScore> score = new HashMap<>();
    private double average;

    public void setStudent(Student stu){
        student = stu;
    }

    public void setScore(HashMap<String,CourseScore> hashMap){
        score = hashMap;
    }

    public Student getStudent(){
        return student;
    }

    public HashMap<String,CourseScore> getScore(){
        return score;
    }

    public void setAverage(double aver) {
        average = aver;
    }

    public double getAverage() {
        return average;
    }
}
